home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / utility / obskit.zip / ALIASES.REC < prev    next >
Text File  |  1992-01-11  |  18KB  |  389 lines

  1.       REM ************************************************************
  2.       REM This line sets up the configuration for ObsRes
  3.       REM The translator is to be ON
  4.       REM The translation echo is disabled
  5.       REM Aliases are not case sensitive
  6.       REM Translations are to be applied recursively
  7.       REM ************************************************************
  8. alias /on /noecho /nocase /recurse
  9.  
  10.       REM ------------------------------------------------------------
  11.       REM command:  ADD Source(WildSpec or Directory) [target]
  12.       REM purpose:  To add new files to a target directory
  13.       REM ------------------------------------------------------------
  14. alias          add        mf /ca
  15.  
  16.       REM ------------------------------------------------------------
  17.       REM command:  ASCII {WildSpec}
  18.       REM purpose:  This dumps out files showing only ASCII characters
  19.       REM ------------------------------------------------------------
  20. alias          ascii      fd /ascii /compress
  21.  
  22.       REM ------------------------------------------------------------
  23.       REM command:  BYEXT {WildSpec} [Directory]
  24.       REM purpose:  List files by extension
  25.       REM ------------------------------------------------------------
  26. alias          byext      lf /oen
  27.  
  28.       REM ------------------------------------------------------------
  29.       REM command:  BYNAME {WildSpec} [Directory]
  30.       REM purpose:  List files by name
  31.       REM ------------------------------------------------------------
  32. alias          byname     lf /one
  33.  
  34.       REM ------------------------------------------------------------
  35.       REM command:  BYSIZE {WildSpec} [Directory]
  36.       REM purpose:  List files by size (Ascending
  37.       REM ------------------------------------------------------------
  38. alias          bysize     lf /osne
  39.  
  40.       REM ------------------------------------------------------------
  41.       REM command:  BYTIME {WildSpec} [Directory]
  42.       REM purpose:  List files from Oldest to the Newest
  43.       REM ------------------------------------------------------------
  44. alias          bytime     lf /odne
  45.  
  46.       REM ------------------------------------------------------------
  47.       REM command:  CAT {WildSpec}
  48.       REM purpose:  To catenate files together
  49.       REM ------------------------------------------------------------
  50. alias          cat        fd /nofast /binary /text
  51.  
  52.       REM ------------------------------------------------------------
  53.       REM command:  CD [SmartPath]
  54.       REM command:  CHDIR [SmartPath]
  55.       REM purpose:  To change directories
  56.       REM ------------------------------------------------------------
  57. alias          cd         push
  58. alias          chdir      cd
  59.  
  60.       REM ------------------------------------------------------------
  61.       REM command:  CDD Directory
  62.       REM purpose:  To change directories across disks
  63.       REM ------------------------------------------------------------
  64. alias          cdd        push /disk
  65.  
  66.       REM ------------------------------------------------------------
  67.       REM command:  CLOSE WildSpec or Directory
  68.       REM purpose:  Makes files write protected
  69.       REM ------------------------------------------------------------
  70. alias          close      mf /sa+r
  71.  
  72.       REM ------------------------------------------------------------
  73.       REM command:  CMD CmdName
  74.       REM purpose:  Searches system for CmdName
  75.       REM ------------------------------------------------------------
  76. alias          cmd        locate /cmd
  77.  
  78.       REM ------------------------------------------------------------
  79.       REM command:  CODE [Directory]
  80.       REM purpose:  List all the source code files
  81.       REM ------------------------------------------------------------
  82. alias          code       lf .c .asm .cpp .h .inc .pas
  83.  
  84.       REM ------------------------------------------------------------
  85.       REM command:  COPY Source(WildSpec or Directory) [Target]
  86.       REM purpose:  Copies files from source to target
  87.       REM ------------------------------------------------------------
  88. alias          copy       mf /c
  89.  
  90.       REM ------------------------------------------------------------
  91.       REM command:  COUNT {WildSpec}
  92.       REM purpose:  Counts characters, words, lines, and pages
  93.       REM ------------------------------------------------------------
  94. alias          count      fd /count
  95.  
  96.       REM ------------------------------------------------------------
  97.       REM command:  DEL WildSpec or Directory
  98.       REM command:  ERASE WildSpec or Directory
  99.       REM purpose:  To delete the specified files, or dir contents
  100.       REM ------------------------------------------------------------
  101. alias          del        mf /d
  102. alias          erase      del
  103.  
  104.       REM ------------------------------------------------------------
  105.       REM command:  DETAB spacing WildSpec [ > Target ]
  106.       REM purpose:  Removes tabs from file, and replaces them with
  107.       REM           spaces to "spacing" interval
  108.       REM ------------------------------------------------------------
  109. alias          detab      fd /nofast /text /tab
  110.  
  111.       REM ------------------------------------------------------------
  112.       REM command:  DIR {WildSpec} [Directory]
  113.       REM purpose:  To list files
  114.       REM ------------------------------------------------------------
  115. alias          dir        lf
  116.  
  117.       REM ------------------------------------------------------------
  118.       REM command:  DIRS {WildSpec} [Directory]
  119.       REM purpose:  To list directories, excludes files
  120.       REM ------------------------------------------------------------
  121. alias          dirs       lf /ad
  122.  
  123.       REM ------------------------------------------------------------
  124.       REM command:  DOCS [Directory]
  125.       REM purpose:  List all the documentation files
  126.       REM ------------------------------------------------------------
  127. alias          docs       lf .doc .txt read.me* readme
  128.  
  129.       REM ------------------------------------------------------------
  130.       REM command:  DUMP {WildSpec}
  131.       REM purpose:  Output files in a HEX dump
  132.       REM ------------------------------------------------------------
  133. alias          dump       fd /hex /compress
  134.  
  135.       REM ------------------------------------------------------------
  136.       REM command:  FF [WildSpec]
  137.       REM purpose:  Perform a FileFind of the specified files
  138.       REM ------------------------------------------------------------
  139. alias          ff         locate /file
  140.  
  141.       REM ------------------------------------------------------------
  142.       REM command:  FILES {WildSpec} [Directory]
  143.       REM purpose:  To list files and exclude directories
  144.       REM ------------------------------------------------------------
  145. alias          files      lf /a-d
  146.  
  147.       REM ------------------------------------------------------------
  148.       REM command:  GO[TO] cmd_name
  149.       REM purpose:  Switch to the directory where the command is found
  150.       REM ------------------------------------------------------------
  151. alias          go'to      locate /change /command
  152.  
  153.       REM ------------------------------------------------------------
  154.       REM command:  HEAD num {WildSpec}
  155.       REM purpose:  List only the top "num" lines of each file
  156.       REM ------------------------------------------------------------
  157. alias          head       fd /text /end
  158.  
  159.       REM ------------------------------------------------------------
  160.       REM command:  HIDE WildSpec or Directory
  161.       REM purpose:  To set the hidden attribute on the specified files
  162.       REM           This makes the file invisible to a normal dir
  163.       REM ------------------------------------------------------------
  164. alias          hide       mf /sa+h
  165.  
  166.       REM ------------------------------------------------------------
  167.       REM command:  LIST
  168.       REM purpose:  Lists all SmartPaths and Default directories
  169.       REM ------------------------------------------------------------
  170. alias          list       ocd /list
  171.  
  172.       REM ------------------------------------------------------------
  173.       REM command:  MD Directory
  174.       REM command:  MKDIR Directory
  175.       REM purpose:  Creates a new directory and updates HotDir file
  176.       REM ------------------------------------------------------------
  177. alias          md         ocd /mkdir
  178. alias          mkdir      md
  179.  
  180.       REM ------------------------------------------------------------
  181.       REM command:  NUMBER {WildSpec}
  182.       REM purpose:  Outputs a file, numbering the lines
  183.       REM ------------------------------------------------------------
  184. alias          number     fd /nowrap /number
  185.  
  186.       REM ------------------------------------------------------------
  187.       REM command:  OPEN WildSpec or Directory
  188.       REM purpose:  Disables write-protect on the specified files
  189.       REM ------------------------------------------------------------
  190. alias          open       mf /sa-r
  191.  
  192.       REM ------------------------------------------------------------
  193.       REM command:  PAGE {WildSpec}
  194.       REM purpose:  Displays a file page by page
  195.       REM ------------------------------------------------------------
  196. alias          page       fd /text /nowrap /page
  197.  
  198.       REM ------------------------------------------------------------
  199.       REM command:  PATH [string]
  200.       REM purpose:  Sets the path = string / enables path editor
  201.       REM ------------------------------------------------------------
  202. alias /nospace path       set /noremove /edit path=
  203.  
  204.       REM ------------------------------------------------------------
  205.       REM command:  POP [number]
  206.       REM purpose:  Sets the current working directory to the entry
  207.       REM           on the stack, and clears the stack entries
  208.       REM ------------------------------------------------------------
  209. alias          pop        ocd /pop
  210.  
  211.       REM ------------------------------------------------------------
  212.       REM command:  PROGS [Directory]
  213.       REM purpose:  Lists all the executable files in the directory
  214.       REM ------------------------------------------------------------
  215. alias          progs      lf *.exe *.com *.bat
  216.  
  217.       REM ------------------------------------------------------------
  218.       REM command:  PROMPT [string]
  219.       REM purpose:  Sets the prompt = string / enables prompt editor
  220.       REM ------------------------------------------------------------
  221. alias /nospace prompt     set /noremove /edit prompt=
  222.  
  223.       REM ------------------------------------------------------------
  224.       REM command:  PRUNE Directory
  225.       REM purpose:  Removes the directory, even if it is non-empty
  226.       REM ------------------------------------------------------------
  227. alias          prune      mf /d /r
  228.  
  229.       REM ------------------------------------------------------------
  230.       REM command:  PUSH [Directory]
  231.       REM purpose:  Places the current location on the stack
  232.       REM ------------------------------------------------------------
  233. alias          push       ocd /push
  234.  
  235.       REM ------------------------------------------------------------
  236.       REM command:  QCOPY Source(WildSpec or Directory) Target
  237.       REM purpose:  Copys new and updated files from source to target
  238.       REM comment:  Runs quicker than copy, because it doesn't copy
  239.       REM           files that don't appear to have changed
  240.       REM ------------------------------------------------------------
  241. alias          qcopy      mf /cua
  242.  
  243.       REM ------------------------------------------------------------
  244.       REM command:  RD Directory
  245.       REM command:  RMDIR Directory
  246.       REM purpose:  Removes the directory, and updates HotDir file
  247.       REM comment:  Directory must be empty
  248.       REM ------------------------------------------------------------
  249. alias          rd         ocd /rmdir
  250. alias          rmdir      rd
  251.  
  252.       REM ------------------------------------------------------------
  253.       REM command:  REN    Source(WildSpec or Directory) [Target]
  254.       REM command:  RENAME Source(WildSpec or Directory) [Target]
  255.       REM command:  MV     Source(WildSpec or Directory) [Target]
  256.       REM purpose:  Change file or directory names
  257.       REM           Move files between directories
  258.       REM
  259.       REM           If Target is absent, files will be moved to the
  260.       REM           current directory
  261.       REM ------------------------------------------------------------
  262. alias          ren        mf /m
  263. alias          rename     ren
  264. alias          mv         ren
  265.  
  266.       REM ------------------------------------------------------------
  267.       REM command:  SET [variable[=definition]]
  268.       REM purpose:  Establish or change an environment variable
  269.       REM ------------------------------------------------------------
  270. alias          set        ee /edit
  271.  
  272.       REM ------------------------------------------------------------
  273.       REM command:  STACK dirname [/DISK]
  274.       REM purpose:  Place a directory on the DirStack without
  275.       REM           changing into it
  276.       REM ------------------------------------------------------------
  277. alias          stack      ocd /stack /echo
  278.  
  279.       REM ------------------------------------------------------------
  280.       REM command:  STRINGS {WildSpec}
  281.       REM purpose:  Output the strings in the selected files that are
  282.       REM           at least 5 characters in length
  283.       REM ------------------------------------------------------------
  284. alias          strings    fd /strings 5 /smart
  285.  
  286.       REM ------------------------------------------------------------
  287.       REM command:  SW
  288.       REM purpose:  Switch between the current disk/directory, and the
  289.       REM           disk/directory on the top of the DirStack
  290.       REM ------------------------------------------------------------
  291. alias /nospace sw'itch    push /pop
  292.  
  293.       REM ------------------------------------------------------------
  294.       REM command:  TAG WildSpec or Directory
  295.       REM purpose:  Set the archive attribute
  296.       REM ------------------------------------------------------------
  297. alias          tag        mf /sa+a
  298.  
  299.       REM ------------------------------------------------------------
  300.       REM command:  TAIL count {WildSpec}
  301.       REM purpose:  Display the last "count" lines of the files
  302.       REM ------------------------------------------------------------
  303. alias /nospace tail       fd /smart /begin -
  304.  
  305.       REM ------------------------------------------------------------
  306.       REM command:  TEXT {WildSpec}
  307.       REM purpose:  Display the ASCII characters in the specified
  308.       REM           files.  Use formatted output
  309.       REM ------------------------------------------------------------
  310. alias          text       fd /ascii /smart
  311.  
  312.       REM ------------------------------------------------------------
  313.       REM command:  TODAY {WildSpec} [Directory]
  314.       REM purpose:  List all the files written today
  315.       REM ------------------------------------------------------------
  316. alias          today      lf /te-0
  317.  
  318.       REM ------------------------------------------------------------
  319.       REM command:  TOUCH {WildSpec}
  320.       REM purpose:  Update all files to have the current date and time
  321.       REM ------------------------------------------------------------
  322. alias          touch      mf /st.
  323.  
  324.       REM ------------------------------------------------------------
  325.       REM command:  TYPE {WildSpec}
  326.       REM purpose:  Display the files on the screen
  327.       REM ------------------------------------------------------------
  328. alias          type       fd
  329.  
  330.       REM ------------------------------------------------------------
  331.       REM command:  UNALIAS name
  332.       REM purpose:  Remove the alias name and definition
  333.       REM ------------------------------------------------------------
  334. alias          unalias    alias /delete
  335.  
  336.       REM ------------------------------------------------------------
  337.       REM command:  UNHIDE {WildSpec or Directory}
  338.       REM purpose:  Clear the hidden attribute on the selected files
  339.       REM           This makes the file visible again
  340.       REM ------------------------------------------------------------
  341. alias          unhide     mf /sa-h /ah
  342.  
  343.       REM ------------------------------------------------------------
  344.       REM command:  UNTAG WildSpec or Directory
  345.       REM purpose:  Clear the archive attribute
  346.       REM ------------------------------------------------------------
  347. alias          untag      mf /sa-a
  348.  
  349.       REM ------------------------------------------------------------
  350.       REM command:  UP [count]
  351.       REM purpose:  Move up the current directory path
  352.       REM ------------------------------------------------------------
  353. alias          up         push /up
  354.  
  355.       REM ------------------------------------------------------------
  356.       REM command:  UPDATE Target(SmartPath[WildSpec] or Directory)
  357.       REM purpose:  Update the selected file from the current dir
  358.       REM ------------------------------------------------------------
  359. alias          update     mf /cu .
  360.  
  361.  
  362.       REM ************************************************************
  363.       REM these definitions redirect to tools directly to there
  364.       REM executables
  365.       REM ************************************************************
  366. alias          alias      ob alias.exe
  367. alias          ds         ob ds.exe
  368. alias          lf         ob lf.exe
  369. alias          locate     ob locate.exe
  370. alias          fd         ob fd.exe
  371. alias          mf         ob mf.exe
  372. alias          ee         ob ee.exe
  373.  
  374.       REM OCD will always attempt to update the HotDir file
  375. alias          ocd        ob ocd.exe /update
  376.  
  377.       REM ************************************************************
  378.       REM this points to the directory ObsKit is located
  379.       REM it is originally defined as NULL
  380.       REM ************************************************************
  381. alias /null    ob
  382.  
  383.       REM ------------------------------------------------------------
  384.       REM To set OB for your environement, say C:\UTIL use
  385.       REM    ALIAS /NOSPACE OB C:\UTIL\
  386.       REM Don't forget the /NOSPACE
  387.       REM Don't forget the trailing '\'
  388.       REM ------------------------------------------------------------
  389.